<%--
  Created by IntelliJ IDEA.
  User: Slava
  Date: 27.07.2014
  Time: 19:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page import="java.util.List" %>
<%@ page import="com.privatbank.tables.Manufacturer" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Goods List</title>
</head>
<body>
<%
    List<Manufacturer> manufacturers;
    manufacturers = (List<Manufacturer>) request.getAttribute("manufacturers");
%>
<b>Manufacturer list</b>
<table border=1>
    <tr>
        <th>ID_manufacturer</th>
        <th>Name_manufacturer</th>
    </tr>
    <% for (Manufacturer manufacturer : manufacturers) { %>
    <tr>
        <td><%=manufacturer.getId() %>
        <td><%=manufacturer.getName() %>
        </td>
    </tr>
    <% } %>
</table>
</body>
</html>
